package com.xwaf.platform.system.api.service.pay;

import java.io.IOException;
import java.util.Map;

import com.xwaf.platform.system.api.request.three.WeiXinProductRequest;

public interface WeiXinService {

	Map<String, String> appPayRequest(WeiXinProductRequest order);

	String sendPost(String api_url, Object xmlObj, String mchId) throws Exception;

	org.json.JSONObject getOpenId(String js_code) throws IOException;

	org.json.JSONObject getUserInfo(String encryptedData, String session_key, String iv);

}
